package cn.zyy.hotel.service;

import cn.zyy.hotel.entity.RoomType;
import cn.zyy.hotel.vo.RoomTypeVO;

import java.util.List;

public interface RoomTypeService {

    //查询房型列表
    List<RoomType> selectRoomTypeList(RoomTypeVO roomTypeVo);

    //添加房型
    int addRoomType(RoomType roomType);

    //修改房型
    int updateRoomType(RoomType roomType);

    //查询当前房型下是否存在房间
    int getRoomCountByRoomTypeId(Integer roomTypeId);

    //删除房型
    int deleteById(Integer id);

}
